package com.gls.starter.swagger;

import com.gls.starter.core.support.YamlPropertySourceFactory;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 访问地址：
 * /swagger-ui.html
 * /docs.html
 * /doc.html
 *
 * @author lizhiyong
 */
@Configuration
@EnableSwagger2Doc
@PropertySource(value = "classpath:application-swagger.yml", factory = YamlPropertySourceFactory.class)
public class SwaggerAutoConfig {
}
